/**
 * createTime: 2018/4/17 15:20
 * author: zhibin.zhao
 * description:
 */
const Koa = require('koa');
const path = require('path');
const static = require('koa-static');

const app = new Koa();

const staticPath = './static';

app.use(static(path.join(__dirname, staticPath)));
app.use(async(ctx)=>{
    ctx.body = "hello world";
});
app.listen(3000);